#include <iostream>

using namespace std;
int main( )
{
int n;
cout<<"Enter a score:";
cin>>n;
switch(n/10)
{
	case 9:case 10:
		cout<<"The degree is A"<<endl;
		break;
		
	case 8:
		cout<<"The degree is B"<<endl;
		break;
		
	case 7:
		cout<<"The degree is C"<<endl;
		
	case 6:
		cout<<"The degree is D"<<endl;
		
	default:
		cout<<"The degree is E"<<endl;
}
	return 0;
}
